package android.slc.user.ui.dept.adapter

import android.slc.extras.user.entity.SysDept
import android.slc.user.R
import com.blankj.utilcode.util.StringUtils
import com.chad.library.adapter.base.viewholder.BaseViewHolder

/**
 * @author slc
 * @date 2020-08-24 16:18
 */
class DeptBrowserProvider {

    fun convert(holder: BaseViewHolder, item: SysDept) {
        holder.setText(R.id.tv_title, item.deptName)
        holder.setText(
            R.id.tv_count,
            StringUtils.getString(R.string.user_label_x_people, 0)
        )
    }

}
